-- GENERATED SPELL FOR [Gor Grimgut] --


function spell0_21319(pUnit, Event) --@Furious Rage,Self--
pUnit:FullCastSpellOnTarget(35491,pUnit)
pUnit:RegisterEvent('Sorts_21319', 6267, 1)
end

function Sorts_21319(pUnit, Event)
local choix_sorts_21319 = math.random(0, 0)
if choix_sorts_21319 == 0 then
pUnit:RegisterEvent('spell0_21319', 1, 1)
end
end

function mob21319_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21319', math.random(1500, 3000), 1)
end

function mob21319_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21319_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21319_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21319, 1, 'mob21319_Action')
RegisterUnitEvent(21319, 2, 'mob21319_Leave')
RegisterUnitEvent(21319, 3, 'mob21319_Kill')
RegisterUnitEvent(21319, 4, 'mob21319_Die')
